16
|
How do I refresh the control
exmenu1.Items.Add("Item 1",null,null);
exmenu1.Refresh();
|
15
|
How do I change the color to highligth the selected item
exmenu1.HighLightBorderColor = Color.FromArgb(255,0,0);
exmenu1.Items.ToString = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem " +
"2[id=80])";
|
14
|
How do I change the drop down, popup menu foreground color
exmenu1.PopupForeColor = Color.FromArgb(255,0,0);
exmenu1.Items.ToString = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem " +
"2[id=80])";
|
13
|
How do I change the drop down, popup menu background color
exmenu1.PopupBackColor = Color.FromArgb(255,0,0);
exmenu1.Items.ToString = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem " +
"2[id=80])";
|
12
|
How do I change the control's shadow color
exmenu1.ShadowColor = Color.FromArgb(255,0,0);
exmenu1.Items.ToString = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem " +
"2[id=80])";
|
11
|
How do I place the control on vertical
exmenu1.OpenMode = exontrol.EXMENULib.OpenModeEnum.Horizontal;
exmenu1.Items.ToString = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem " +
"2[id=80])";
|
10
|
How do I change the control's appearance
exmenu1.Appearance = exontrol.EXMENULib.AppearanceEnum.Button;
exmenu1.Items.ToString = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem " +
"2[id=80])";
|
9
|
How do I change the control's appearance
exmenu1.Appearance = exontrol.EXMENULib.AppearanceEnum.Normal;
exmenu1.Items.ToString = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem " +
"2[id=80])";
|
8
|
How do I change the visual appearance effect for the selected item, using EBN
exmenu1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exmenu1.SelBackColor32 = 0x1000000;
exmenu1.SelForeColor = Color.FromArgb(0,0,0);
exmenu1.Items.ToString = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem " +
"2[id=80])";
|
7
|
How do I change the colors for the selected item
exmenu1.SelBackColor = Color.FromArgb(0,0,0);
exmenu1.SelForeColor = Color.FromArgb(255,255,255);
exmenu1.Items.ToString = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem " +
"2[id=80])";
|
6
|
How do I change the control's foreground color
exmenu1.ForeColor = Color.FromArgb(255,0,0);
exmenu1.Items.ToString = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem " +
"2[id=80])";
|
5
|
How do I change the control's background color
exmenu1.BackColor = Color.FromArgb(200,200,200);
|
4
|
How can I change the control's font
exmenu1.Font.Name = "Tahoma";
exmenu1.Items.ToString = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem " +
"2[id=80])";
|
3
|
How do I change the drop down menu's border
exmenu1.Border = exontrol.EXMENULib.BorderEnum.FlatBorder;
exmenu1.Items.ToString = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem " +
"2[id=80])";
|
2
|
How do I change the control's border, using your EBN files
exmenu1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exmenu1.MenuBarBorder = (exontrol.EXMENULib.BorderEnum)0x1000000;
exmenu1.Border = (exontrol.EXMENULib.BorderEnum)0x1000000;
exmenu1.Items.ToString = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem " +
"2[id=80])";
|
1
|
How do I change the control's border
exmenu1.MenuBarBorder = exontrol.EXMENULib.BorderEnum.FlatBorder;
exmenu1.Items.ToString = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem " +
"2[id=80])";
|